home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Adobe Graphics & Publishing SDK 1996 December
/
Adobe Graphics & Publishing SDK 1996 December.iso
/
mac
/
PageMaker 6.5 SDK Mac
/
SourceCode
/
PageMakerClassLibrary
/
Commands
/
PAddWord.cpp
< prev
next >
Wrap
C/C++ Source or Header
|
1996-08-15
|
886b
|
34 lines
/*
*--- PAddWord.cpp --------------------------------------------------------
* Copyright (c) 1995-96 Adobe Systems Incorporated. All rights reserved.
* Created on Sun, Oct 22, 1995 @ 3:29 PM by Paul Ferguson.
*
* Description: For notes about this class, refer to the
* PCL documentation file PAddWord.html
*-------------------------------------------------------------------------
*/
#include "PAddWord.h"
#include "PRequestBuf.h"
#include "PCommand.h"
PAddWord::PAddWord(const char * sWord)
{
PRequestBuf request(strlen(sWord) + 4);
request << sWord << (short) 0;
PCommand command(pm_addword, request);
}
PAddWord::PAddWord(const char * sWord, const char * sLanguage)
{
PRequestBuf request(strlen(sWord) + strlen(sLanguage) + 4);
request << sWord << sLanguage;
PCommand command(pm_addword, request);
}
// end of PAddWord.cpp